using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter44
{
	/// <summary>
	/// Example05: The Activity of Radium
	/// The half-life of the radioactive nucleus radium-226, 226Ra, 
	/// is 1.6 \times 10^3 yr.
	/// (A)	What is the decay constant \lambda of this nucleus?
	/// (B)	If a sample contains 3.0 \times 10^{16} 226Ra nuclei 
	/// at t = 0, determine its activity in curies at this time.
	/// (C)	What is the activity after the sample 
	/// is 2.0 \times 10^3 yr old?
	/// </summary>
	public class Example05
	{
		public Example05()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			L.Decay obj = new L.Decay();
			obj.HalfLife = 1.6E3*365.0*24*60*60;
			//(A)
            result+=Convert.ToString(obj.DecayConstant);            
		}
	}
}
